package com.ceit.dao;

import com.ceit.model.SubjectKnowledge;
import com.ceit.model.SubjectKnowledgeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubjectKnowledgeMapper {

    int countByExample(SubjectKnowledgeExample example);

    int deleteByExample(SubjectKnowledgeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SubjectKnowledge record);

    int insertSelective(SubjectKnowledge record);

    List<SubjectKnowledge> selectByExample(SubjectKnowledgeExample example);

    SubjectKnowledge selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SubjectKnowledge record, @Param("example") SubjectKnowledgeExample example);

    int updateByExample(@Param("record") SubjectKnowledge record, @Param("example") SubjectKnowledgeExample example);

    int updateByPrimaryKeySelective(SubjectKnowledge record);

    int updateByPrimaryKey(SubjectKnowledge record);
}